<include file="Public/header"/> 
<include file="Public/sidebar"/>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        管理员列表
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
        <li class="active">Here</li>
      </ol>
    </section>
    <!-- Main content -->
    <section class="content">
      <div class="box">
            <div class="box-header">
            <a href="{:U('Admin/Rule/add_admin')}"><button class="btn btn-success">添加管理员</button></a>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table id="example2" class="table table-bordered table-hover mailbox-messages">
                <thead>
                <tr>
                  <th width="10%">用户名</th>
                  <th>用户组</th>
                  <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <foreach name="data" item="v">
                <tr>
                  <td>{$v['username']}</td>
                  <td>{$v['title']}</td>
                  <td><a href="{:U('Admin/Rule/edit_admin',array('id'=>$v['id']))}">修改权限或密码</a></td>
                </tr>
                </foreach>
                </tbody>
              </table>
            </div>
            <!-- /.box-body -->
      </div>
      <!-- /.box -->
      
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
<include file="Public/footer"/>
<script>

</script>